<?php
include("../inc/conn.inc");
$hover=2;
$rs=@mysql_query("select id,hot_id,hot_name from hot_product where id='$_GET[id]'");
$row=@mysql_fetch_array($rs);

$rs2=@mysql_query("select id,hot_name from hot_product where id='$row[hot_id]'");
$row2=@mysql_fetch_array($rs2);

$rs3=@mysql_query("select id,city_name,city_id from city where id='$_GET[did]'");
$row3=@mysql_fetch_array($rs3);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?=$row3[city_name]?><?=$row[hot_name]?>，<?=$row3[city_name]?><?=$row[hot_name]?>电话，<?=$row3[city_name]?><?=$row[hot_name]?>信息列表，商务、便民生活服务</title>
<meta name="description" content="三帝商务、便民服务为您提供<?=$row3[city_name]?><?=$row[hot_name]?>，<?=$row3[city_name]?><?=$row[hot_name]?>电话，<?=$row3[city_name]?><?=$row[hot_name]?>价格、<?=$row3[city_name]?><?=$row[hot_name]?>，最新<?=$row3[city_name]?><?=$row[hot_name]?>商务、便民生活服务。" />
<meta name="keywords" content="<?=$row3[city_name]?><?=$row[hot_name]?>，<?=$row3[city_name]?><?=$row[hot_name]?>电话，<?=$row3[city_name]?><?=$row[hot_name]?>价格，热点<?=$row3[city_name]?><?=$row[hot_name]?>服务，商务、便民生活服务。" />
<link href="/css/body.css" rel="stylesheet" type="text/css" />
<link href="/css/link.css" rel="stylesheet" type="text/css" />
<link href="/css/head.css" rel="stylesheet" type="text/css" />
<link href="/fuwu/css/prolist.css" rel="stylesheet" type="text/css" />
<link href="/css/foot.css" rel="stylesheet" type="text/css" />
</head>
<body>
<?php include("../inc/head_top.php")?>
<?php include("../inc/index_search.php")?>
<?php include("../inc/menu.php");?>
<div id="mian" class="topside6 side">
<div class="title">您所在的位置：<a href="/">首页</a> >> <a href="/fuwu/">商务、便民服务</a> >> <a href="/fuwu/type-tid<?=$row2[id]?>.html"><?=$row2[hot_name]?></a> >> <a href="/fuwu/<?=$_GET[type_name]?>-cid<?=$_GET[id]?>.html"><?=$row[hot_name]?></a> >> <?=$row3[city_name]?><?=$row[hot_name]?></div>
<div class="onl"></div>
</div>

<div class="w960 topside20 downside20 side">
<script type="text/javascript">/*960*90，创建于2011-3-9*/ var cpro_id = 'u403357';</script><script src="http://cpro.baidu.com/cpro/ui/c.js" type="text/javascript"></script>
<div class="onl"></div>
</div>

<div id="mian" class="topside6">
<?php 
$a_rs=@mysql_query("select ad_url,ad_picture from adwords where type_id=1 and ad_id='$_GET[id]' and is_ok=1 order by id desc");

$a_rs2=@mysql_query("select count(id) from adwords where type_id=1 and ad_id='$_GET[id]' and is_ok=1");
$num=@mysql_result($a_rs2,0);
@mysql_free_result($a_rs2);

while($a_row=@mysql_fetch_array($a_rs)){?>
<?php if($a_row[ad_url]){?><a href="<?=$a_row[ad_url]?>" target="_blank"><?php }?><img src="/upfile/<?=$a_row[ad_picture]?>" width="235" height="100" border="0" /><?php if($a_row[ad_url]){?></a>
<?php }?>
<?php }
if(4-$num>0){
for($i=0;$i<4-$num;$i++){
?>
<img src="/fuwu/ad/default.gif" width="235" height="100" border="0" />
<?php }}?>
</div>

<div id="mian" class="topside6 side">
<script type="text/javascript"><!--
google_ad_client = "pub-2924453545159453";
/* 728x90, 创建于 11-3-18 */
google_ad_slot = "0531157620";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<div class="onl"></div>
</div>

<div id="mian" class="topside6 side">
<div class="title1"><b><?=$row3[city_name]?><?=$row[hot_name]?></b><br />
<font color="red">您的企业没有列入其中吗？<br />
赶快升级钻石会员吧，钻石会员让您的企业获得更加全面的推广。</font></div>
<ul class="probox">
<?php 
$sqls=" and (m_cname like '%$row[hot_name]%' || c_mainpro like '%$row[hot_name]%' || m_keywords like '%$row[hot_name]%')";
$h_rs=@mysql_query("select id,m_type,m_user,m_cname,c_info,m_tel from member where m_sh=1 and m_static=1 and m_city='$_GET[did]' ".$sqls." order by m_type desc, id desc limit 30");
while($h_row=@mysql_fetch_array($h_rs)){
if($h_row[m_type]==6){
   $m_url="http://$h_row[m_user].sandib2b.cn";
}else{
   $m_url="/cn/template/$h_row[m_user]/";
}
?>
<li class="side">
   <h1><a href="<?=$m_url?>" target="_blank"><?=mb_substr($h_row[m_cname],0,20,'utf-8')?></a></h1>
   <h2 style="line-height:20px;padding:10px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?=mb_substr(trim($h_row[c_info]),0,150,'utf-8')?></h2>
   <h2 style="color:red;">&nbsp;&nbsp;&nbsp;&nbsp;<strong><?=$row3[city_name]?><?=$row[hot_name]?>电话：<?=$h_row[m_tel]?></strong></h2>
</li>
<?php }?>
</ul>
<div class="onl"></div>
</div>

<div id="mian" class="topside6 side">
<script type="text/javascript"><!--
google_ad_client = "pub-2924453545159453";
/* 728x90, 创建于 11-3-18 */
google_ad_slot = "0531157620";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<div class="onl"></div>
</div>

<div class="city topside6">
<div class="title1">城市导航</div>
<ul>
<?php
 $crs=@mysql_query("select id,city_name from city where city_id='$row3[city_id]' order by id asc");
 while($crow=@mysql_fetch_array($crs)){
?>
<li>
<h1><a href="/fuwu/<?=$_GET[type_name]?>-cid<?=$_GET[id]?>-did<?=$crow[id]?>.html" target="_blank"><font color="#0033CC"><?=$crow[city_name]?></font></a></h1>
</li>
<?php }?>
</ul>
<div class="onl"></div>
</div>
<div class="city topside6">
<div class="title1"><a href="/fuwu/<?=$_GET[type_name]?>-city<?=$_GET[id]?>.html">&gt;&gt;更多城市</a></div>
</div>

<div class="w960 topside20 downside20 side">
<script type="text/javascript">/*960*90，创建于2011-3-9*/ var cpro_id = 'u403357';</script><script src="http://cpro.baidu.com/cpro/ui/c.js" type="text/javascript"></script>
<div class="onl"></div>
</div>

<?php include("../inc/foot.php");?>
</BODY>
</HTML>

<script type="text/javascript">/*120*270，创建于2010-12-18*/ var cpro_id = 'u319758';</script><script src="http://cpro.baidu.com/cpro/ui/f.js" type="text/javascript"></script>
